package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.WorkOrderWorkOvertimeDTO;
import com.eastfair.venueservice.entity.WorkOrderWorkOvertime;
import com.eastfair.venueservice.vo.WorkOrderWorkOvertimeVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 工单加班项
 * </p>
 *
 * @author linan
 * @date 2022-10-24
 */
public interface WorkOrderWorkOvertimeService extends SuperService<WorkOrderWorkOvertime> {
    /**
     * do转vo
     * @param model
    */
    WorkOrderWorkOvertimeVO doToVo(WorkOrderWorkOvertime model);
   /**
    * do转vo
    * @param modelList
   */
    List<WorkOrderWorkOvertimeVO> doToVos(List<WorkOrderWorkOvertime> modelList);


   /**
    * 通用查询
    *
    * @param modelDTO DTO
    * @param ids 主键id集合
    * @return list
    */
   List<WorkOrderWorkOvertime> list(WorkOrderWorkOvertimeDTO modelDTO, List<Long> ids);

  /**
  * 通用查询
  *
  * @param modelDTO DTO
  * @param ids 主键id集合
  * @return list
  */
  List<WorkOrderWorkOvertime> listOfCache(WorkOrderWorkOvertimeDTO modelDTO, List<Long> ids);
}
